<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>后台管理</title>
<link rel="stylesheet" type="text/css" href="View/Admin/index/css/index.css" />
<script type="text/javascript" src="includes/jedate/jedate.js"></script>
</head>
<body>
<h2>学生打卡后台管理</h2>
<form action="index.php" method="post">
名字：<input type="text" name="user_name">
开始时间：<input name='start_time' value="" class="datainp" id="datebut" type="text" onClick="jeDate({dateCell:'#datebut',isTime:true,format:'YYYY-MM-DD'})" placeholder="请选择"  >&nbsp;&nbsp;&nbsp;
结束时间：<input name='end_time' value="" class="datainp" id="datebut2" type="text" onClick="jeDate({dateCell:'#datebut2',isTime:true,format:'YYYY-MM-DD'})" placeholder="请选择"  >&nbsp;&nbsp;&nbsp;
<input type='hidden' name='group' value='admin' />
<input type='hidden' name='module' value='index' />
<input type='hidden' name='act' value='index' />
</form>
<table border=1 width="90%">
   <tr>
      <th>编号</th>
      <th>姓名</th>
      <th>打卡时间</th>
   </tr>
   {foreach $rows as $row}
   <tr>
      <td>{$row@iteration}</td>
      <td>{$row['user_name']}</td>
      <td>{$row['riqi']}</td>   
   </tr>
   {/foreach}
</table>
</body>
</html>
<script type="text/javascript">
    //jeDate.skin('gray');
	jeDate({
		dateCell:"#indate",//isinitVal:true,
		format:"YYYY-MM",
		isTime:false, //isClear:false,
		minDate:"2015-10-19 00:00:00",
		maxDate:"2016-11-8 00:00:00"
	})
    jeDate({
		dateCell:"#dateinfo",
		format:"YYYY年MM月DD日 hh:mm:ss",
		isinitVal:true,
		isTime:true, //isClear:false,
		minDate:"2014-09-19 00:00:00",
		okfun:function(val){alert(val)}
	})
</script>